﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.DynamicData;

namespace RastinArgham.CRM.Business
{
    [MetadataType(typeof(CampaignMetaData))]
    [DisplayName("کمپین")]
    [ScaffoldTable(true)]
    public partial class Campaign
    {
    }

    public class CampaignMetaData
    {
        [ScaffoldColumn(false)]
        public object CampaignId { get; set; }

        [Display(Name="نام کمپین")]
        public object CampaignName { get; set; }

        [Display(Name="شناسه کمپین")]
        public object CampaignCode { get; set; }

        [Display(Name="مشترکین")]
        public object Contacts { get; set; }
    }
}
